import frontRequest from "@/utils/http/frontRequest.js";

export const categoryListGetAPI = ({length = 12, sort = 0}) => {
    return frontRequest.get('/game/recommend/category', {
        params: {
            length,
            sort
        }
    })
}

// 查询分类
export const categoryGetAPI = (id) => {
    return frontRequest.get(`game/category/${id}`)
}
